package com.igeek.oa.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 采购申请表
 * </p>
 *
 * @author author
 * @since 2024-08-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("purchase")
@ApiModel(value="Purchase对象", description="采购申请表")
public class Purchase implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "申请表编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "申请人编号")
    private String empId;

    @ApiModelProperty(value = "申请部门编号")
    private String deptId;

    @ApiModelProperty(value = "采购金额")
    private BigDecimal money;

    @ApiModelProperty(value = "申请日期")
    private LocalDateTime applyTime;

    @ApiModelProperty(value = "状态：0：待审批；1：审批通过；2：审批拒绝；")
    private String state;


}
